From 2c5f4c587111328a077b2335307e1b03f3c625fd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 27 Dec 2019 01:46:04 -0500 Subject: [PATCH] menutoolbutton: Fix sensitivity handling We don't need to set the arrow button explicitly to insensitive, GtkMenuButton handles that automatically. --- gtk/gtkmenutoolbutton.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c index 19aba366ce..efbc6288b2 100644 --- a/gtk/gtkmenutoolbutton.c +++ b/gtk/gtkmenutoolbutton.c @@ -320,9 +320,6 @@ gtk_menu_tool_button_init (GtkMenuToolButton *button) arrow_button = gtk_menu_button_new (); gtk_container_add (GTK_CONTAINER (box), arrow_button); - /* the arrow button is insentive until we set a menu */ - gtk_widget_set_sensitive (arrow_button, FALSE); - gtk_container_add (GTK_CONTAINER (button), box); gtk_menu_button_set_align_widget (GTK_MENU_BUTTON (arrow_button), GTK_WIDGET (button)); -- 2.30.2